package org.taurusxi.eventbus;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by chengxi on 2017/8/27.
 */

@Configuration
public class RabbitConfig {

    @Bean
    Queue helloQueue(){
        return new Queue("hello");
    }


}
